package com.soft.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 实体：团队（表 team）
 * 描述：组织团队的基本信息，creatorId 指向创建该团队的用户。
 */
@TableName("team")
public class Team {
     // 主键，自增
    @TableId(type = IdType.AUTO)
    private Integer teamId;
    
     // 团队名称
    private String teamName;
    
     // 描述信息
    private String description;
    
     // 创建者用户 ID
    private Integer creatorId;
    
     // 创建时间
    private LocalDateTime createTime;

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
